package com.tian.templatefunction;

/**
 * @author tiansongtao, Email:tiansongtao@up366.com
 * @date 2020/12/24 18:20
 */
public abstract class ICarModel {

    public abstract void start();

    public abstract void alarm();

    public abstract void stop();


    public void drive(){
        //开始驾驶
        start();
        //鸣笛
        alarm();
        //停车
        stop();
    }
}
